/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.cuni.amis.pogamut.episodic.visualizer;

import cz.cuni.amis.pogamut.episodic.memory.AgentMemory;
import java.util.EventObject;

/**
 *
 * @author Miso
 */
public class VisualizationEvent extends EventObject {
    VisualizationEventType type;
    AgentMemory mem;
    String time = "";

    public VisualizationEvent(Object source, VisualizationEventType type, AgentMemory mem) {
        super(source);
        this.type = type;
        this.mem = mem;
    }

    public VisualizationEvent(Object source, VisualizationEventType type, String time, AgentMemory mem) {
        super(source);
        assert (type == VisualizationEventType.UPDATE_TIME);
        this.type = type;
        this.time = time;
        this.mem = mem;
    }
}
